<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			function Student(name, age) {
				this.name = name;
				this.age = age;
			}

			var stu01 = new Student("张三", 20);

			// console.dir(stu01);
			// console.dir(stu01.__proto__);
			// console.dir(stu01.__proto__.__proto__);
			// console.dir(stu01.__proto__.__proto__.__proto__);
			
			var arr01 = new Array();
			// arr01.abc();
			
			//扩展内置对象
			Array.prototype.abc = function(){
				console.log("abc");
			}
			
			arr01.abc();
			
			
		</script>
	</body>
</html>
